package com.hl.ruoyizmhshop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 评价管理对象 appraise
 * 
 * @author ruoyi
 * @date 2025-08-09
 */
public class Appraise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价ID */
    private Integer appraiseId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String appraiseContent;

    /** 评价图片(多张用逗号分隔) */
    private String appraiseImg;

    /** 评价分数(1-5) */
    @Excel(name = "评价分数(1-5)")
    private Integer appraiseScore;

    /** 用户ID */
    private Integer userId;

    /** 商品ID */
    private Integer goodsId;

    /** 订单ID */
    private Integer orderId;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appraiseTime;

    /** 父评价ID */
    private Long appraiseParentId;

    /** 是否匿名(0-否,1-是) */
    @Excel(name = "是否匿名(0-否,1-是)")
    private Boolean isAnonymous;

    /** 商家回复内容 */
    private String replyContent;

    /** 商家回复时间 */
    private Date replyTime;

    /** 商家回复状态(0-未回复,1-已回复) */
    @Excel(name = "商家回复状态(0-未回复,1-已回复)")
    private Integer replyStatus;

    public void setAppraiseId(Integer appraiseId) 
    {
        this.appraiseId = appraiseId;
    }

    public Integer getAppraiseId() 
    {
        return appraiseId;
    }

    public void setAppraiseContent(String appraiseContent) 
    {
        this.appraiseContent = appraiseContent;
    }

    public String getAppraiseContent() 
    {
        return appraiseContent;
    }

    public void setAppraiseImg(String appraiseImg) 
    {
        this.appraiseImg = appraiseImg;
    }

    public String getAppraiseImg() 
    {
        return appraiseImg;
    }

    public void setAppraiseScore(Integer appraiseScore) 
    {
        this.appraiseScore = appraiseScore;
    }

    public Integer getAppraiseScore() 
    {
        return appraiseScore;
    }

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }

    public void setGoodsId(Integer goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsId() 
    {
        return goodsId;
    }

    public void setOrderId(Integer orderId) 
    {
        this.orderId = orderId;
    }

    public Integer getOrderId() 
    {
        return orderId;
    }

    public void setAppraiseTime(Date appraiseTime) 
    {
        this.appraiseTime = appraiseTime;
    }

    public Date getAppraiseTime() 
    {
        return appraiseTime;
    }

    public void setAppraiseParentId(Long appraiseParentId) 
    {
        this.appraiseParentId = appraiseParentId;
    }

    public Long getAppraiseParentId() 
    {
        return appraiseParentId;
    }

    public void setIsAnonymous(Boolean isAnonymous) 
    {
        this.isAnonymous = isAnonymous;
    }

    public Boolean getIsAnonymous() 
    {
        return isAnonymous;
    }

    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }

    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }

    public void setReplyStatus(Integer replyStatus) 
    {
        this.replyStatus = replyStatus;
    }

    public Integer getReplyStatus() 
    {
        return replyStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appraiseId", getAppraiseId())
            .append("appraiseContent", getAppraiseContent())
            .append("appraiseImg", getAppraiseImg())
            .append("appraiseScore", getAppraiseScore())
            .append("userId", getUserId())
            .append("goodsId", getGoodsId())
            .append("orderId", getOrderId())
            .append("appraiseTime", getAppraiseTime())
            .append("appraiseParentId", getAppraiseParentId())
            .append("isAnonymous", getIsAnonymous())
            .append("replyContent", getReplyContent())
            .append("replyTime", getReplyTime())
            .append("replyStatus", getReplyStatus())
            .toString();
    }
}
